package org.rcy.framework.pay.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(
        prefix = PayHttpConfigProperties.PREFIX
)
public class PayHttpConfigProperties {
    public static final String PREFIX = "pay.config";

    private Integer maxTotal;
    private Integer defaultMaxPerRoute;

    public PayHttpConfigProperties() {
    }

    public Integer getMaxTotal() {
        return maxTotal;
    }

    public void setMaxTotal(Integer maxTotal) {
        this.maxTotal = maxTotal;
    }

    public Integer getDefaultMaxPerRoute() {
        return defaultMaxPerRoute;
    }

    public void setDefaultMaxPerRoute(Integer defaultMaxPerRoute) {
        this.defaultMaxPerRoute = defaultMaxPerRoute;
    }
}
